package com.yb.project.system.service;

import java.util.List;

import com.yb.project.base.service.BaseService;
import com.yb.project.system.domain.SysMenu;

public interface SysMenuService extends BaseService<SysMenu> {
	
	List<SysMenu> getListByPid(Long pid);
	
	List<SysMenu> getListByLevel(Integer level);
	
	List<SysMenu> getListByPermissions(List<String> permissions);

	List<SysMenu> getListByParamMap(Long pid, Integer level);
	
	List<SysMenu> getListByParamMap(Long pid, Integer level, List<String> permissions);
	
	Long getParentId(Long id);
	
	List<Long> getChildIds(Long id);
	
	List<Long> getAllParentIds(Long id);
	
	List<Long> getAllChildIds(Long id);
}